import request from '@/utils/request'

// 查询荣誉信息列表
export function listInfo(query) {
  return request({
    url: '/talent/honor/list',
    method: 'get',
    params: query
  })
}

// 查询荣誉信息详细
export function getInfo(talentId) {
  return request({
    url: '/talent/honor/' + talentId,
    method: 'get'
  })
}

// 查询荣誉信息附件
export function getAttachment(id) {
  return request({
    url: '/talent/honor/attachment/' + id,
    method: 'get'
  })
}

